100
Show a combination of lines and filled curves in the overview

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->GetVisualAppearance()->Add(1,"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\EBN\\googlebtn.ebn");
spGraph1->PutBackground(EXGRAPHLib::exOverviewSelResize,0x1808080);
spGraph1->PutBackground(EXGRAPHLib::exOverviewSel,0x1f0f0f0);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
spGraph1->PutSeriesColors("blue,lightblue,green");
EXGRAPHLib::IValueAxesPtr var_ValueAxes = spGraph1->GetValueAxes();
	EXGRAPHLib::IValueAxisPtr var_ValueAxis = var_ValueAxes->Add(vtMissing);
		var_ValueAxis->PutStart(double(0.1));
		var_ValueAxis->PutCursorFormat(L"(value format ``) replace `.` with `<font ;6><off -4><fgcolor A0A0A0> `");
	EXGRAPHLib::IValueAxisPtr var_ValueAxis1 = var_ValueAxes->Add("2nd");
		var_ValueAxis1->PutEnd(double(0.1));
		var_ValueAxis1->PutVisible(VARIANT_FALSE);
		var_ValueAxis1->GetMajorGridLines()->PutColor(long(-1));
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Date");
	var_CategoryAxis->PutFormat(L"value mid 9 left 2");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutFormat(L"`<fgcolor black>` + ((0:=date(value)) format `mmm`) + (month(=:0) = 1 ? `<br><b>` + (=:0 format `YYYY`) : ``)");
		var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::DrawTextFormatEnum(EXGRAPHLib::exTextAlignBottom | EXGRAPHLib::exTextAlignRight));
		var_FormatGridLinesOptions->PutColor("lightgray");
	var_CategoryAxis->GetMajorTicks()->PutColor("black");
	var_CategoryAxis->PutCursorFormat(L"value left 10");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions1 = var_CategoryAxis->GetOverviewGridLines();
		var_FormatGridLinesOptions1->PutFormat(L"value left 4");
		var_FormatGridLinesOptions1->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add(vtMissing,vtMissing);
		var_Serie->PutName(L"<fgcolor blue>MSFT</fgcolor>");
		var_Serie->PutData("Open,High,Low,Close");
		var_Serie->PutType(L"candle");
		var_Serie->PutCursorFormat(_bstr_t("`Open: <b>` + (%v0 format `0`) + `</b><br>High: ` + (%v1 format `0`) + `<br>Low: ` + (%v2 format `0`) + `<br>Close: <b>` + (%v1") +
" format `0`) + `</b>`");
	EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add(vtMissing,vtMissing);
		var_Serie1->PutName(L"<fgcolor lightblue>Volume</fgcolor>");
		var_Serie1->PutData("Volume");
		var_Serie1->PutAxis(L"2nd");
		var_Serie1->PutCursorFormat(L"(name replace `lightblue` with `white`) + `: ` + (value format `0`)");
	EXGRAPHLib::ISeriePtr var_Serie2 = var_Series->Add(vtMissing,vtMissing);
		var_Serie2->PutName(L"<fgcolor green>Adj Close</fgcolor>");
		var_Serie2->PutData("Adj Close");
		var_Serie2->PutType(L"line");
		var_Serie2->PutMisc(EXGRAPHLib::exLineSize,long(2));
		var_Serie2->PutStyle(EXGRAPHLib::exSpline);
		var_Serie2->PutVisible(VARIANT_FALSE);
		var_Serie2->PutCursorFormat(L"(name replace `green` with `white`) + `: ` + (value format `0`)");
EXGRAPHLib::IOverviewPtr var_Overview = spGraph1->GetOverview();
	var_Overview->PutVisible(VARIANT_TRUE);
	var_Overview->PutSerie(L"0,1:darkblue-fill lightblue");
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutGrid(L"x1");
spGraph1->GetCursor()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

99
Display multiple curves of values in the overview

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutName(L"msft");
	var_Serie->PutData("Open,High,Low,Close");
	var_Serie->PutType(L"candle");
EXGRAPHLib::IOverviewPtr var_Overview = spGraph1->GetOverview();
	var_Overview->PutVisible(VARIANT_TRUE);
	var_Overview->PutSerie(L"0:black,0[1]:red,0[2]:blue,0[3]:green");
spGraph1->EndUpdate();

98
Display the series as a filled curve rather than a line in the overview

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutName(L"msft");
	var_Serie->PutData("Open,High,Low,Close");
	var_Serie->PutType(L"candle");
EXGRAPHLib::IOverviewPtr var_Overview = spGraph1->GetOverview();
	var_Overview->PutVisible(VARIANT_TRUE);
	var_Overview->PutSerie(L"0:red-fill");
spGraph1->EndUpdate();

97
Redefine the color to show the serie within the overview

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutName(L"msft");
	var_Serie->PutData("Open,High,Low,Close");
	var_Serie->PutType(L"candle");
EXGRAPHLib::IOverviewPtr var_Overview = spGraph1->GetOverview();
	var_Overview->PutVisible(VARIANT_TRUE);
	var_Overview->PutSerie(L"0:red");
spGraph1->EndUpdate();

96
Defines the color, style and width/size to display the lines of values in the overview

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutName(L"msft");
	var_Serie->PutData("Open,High,Low,Close");
	var_Serie->PutType(L"candle");
EXGRAPHLib::IOverviewPtr var_Overview = spGraph1->GetOverview();
	var_Overview->PutVisible(VARIANT_TRUE);
	EXGRAPHLib::ILineOptionsPtr var_LineOptions = var_Overview->GetLine();
		var_LineOptions->PutColor("red");
		var_LineOptions->PutWidth(2);
		var_LineOptions->PutStyle(2);
spGraph1->EndUpdate();

95
Resizes of the control's overview

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutName(L"msft");
	var_Serie->PutData("Open,High,Low,Close");
	var_Serie->PutType(L"candle");
EXGRAPHLib::IOverviewPtr var_Overview = spGraph1->GetOverview();
	var_Overview->PutVisible(VARIANT_TRUE);
	var_Overview->PutSize(32);
spGraph1->EndUpdate();

94
Anchors the overview-window

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutName(L"msft");
	var_Serie->PutData("Open,High,Low,Close");
	var_Serie->PutType(L"candle");
EXGRAPHLib::IOverviewPtr var_Overview = spGraph1->GetOverview();
	var_Overview->PutVisible(VARIANT_TRUE);
	var_Overview->PutDock(EXGRAPHLib::exLeft);
spGraph1->EndUpdate();

93
Shows the overview

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutName(L"msft");
	var_Serie->PutData("Open,High,Low,Close");
	var_Serie->PutType(L"candle");
spGraph1->GetOverview()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

92
Locks the legend (no value is hidden or shown when user clicks a symbol)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutLocked(VARIANT_TRUE);
spGraph1->EndUpdate();

91
Aligns the legend's content

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutGrid(L"2x");
	var_Legend->PutAlign(EXGRAPHLib::exStart);
spGraph1->EndUpdate();

90
Arranges the legend objects on columns and rows

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutGrid(L"2x");
spGraph1->EndUpdate();

89
Arranges the legend objects on columns and rows

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutFlow(EXGRAPHLib::exTopToBottom);
	var_Legend->PutGrid(L"x2");
spGraph1->EndUpdate();

88
Arranges the legend objects from left to right or top to bottom

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutFlow(EXGRAPHLib::exTopToBottom);
spGraph1->EndUpdate();

87
Defines the size to display the symbol, within the legend

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutSymbolWidth(long(32));
	var_Legend->PutSymbolHeight(long(32));
spGraph1->EndUpdate();

86
Defines the height to display the symbol, within the legend

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutSymbolHeight(long(32));
spGraph1->EndUpdate();

85
Defines the width to display the symbol, within the legend

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutSymbolWidth(long(32));
spGraph1->EndUpdate();

84
Aligns the symbol of the serie relative to the label of the serie, within the legend

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutSymbolAlign(EXGRAPHLib::LegendSymbolAlignmentEnum(EXGRAPHLib::exSymbolCenter | EXGRAPHLib::exSymbolTop));
spGraph1->EndUpdate();

83
Displays the labels using a fixed-size

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutFormatText(EXGRAPHLib::exTextWordBreak);
	var_Legend->PutLabelFixedWidth(48);
	var_Legend->PutLabelFixedHeight(32);
spGraph1->EndUpdate();

82
Displays the labels using a fixed-height

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutFormatText(EXGRAPHLib::exTextAlignVCenter);
	var_Legend->PutLabelFixedHeight(32);
	var_Legend->PutDock(EXGRAPHLib::exLeft);
spGraph1->EndUpdate();

81
Displays the labels using a fixed-width

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutFormatText(EXGRAPHLib::exTextEndEllipsis);
	var_Legend->PutLabelFixedWidth(32);
spGraph1->EndUpdate();

80
Hides the labels on the legend (method 2)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing)->PutLegendFormat(L"``");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

79
Hides the labels on the legend (method 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutFormatText(EXGRAPHLib::exTextCalcRect);
	var_Legend->PutLabelFixedWidth(1);
spGraph1->EndUpdate();

78
Specifies the flags the labels use to display on the legend (for instance, displays the labels on multiple lines)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutFormatText(EXGRAPHLib::exTextWordBreak);
	var_Legend->PutLabelFixedWidth(48);
spGraph1->EndUpdate();

77
Reverses the order of the items within the legend

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutReverse(VARIANT_TRUE);
spGraph1->EndUpdate();

76
Defines the legend's padding (space between legend's symbol/label and its borders)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutPad("12,0");
spGraph1->EndUpdate();

75
Specifies the edge of the container the legend-window is anchored to

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
	var_Legend->PutDock(EXGRAPHLib::exTop);
spGraph1->EndUpdate();

74
Show the legend

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

73
Defines the tooltip's padding (space between tooltip's caption and its borders), for tooltips when cursor hovers the chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
spGraph1->GetSeries()->Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutTooltipPad("8,8");
spGraph1->EndUpdate();

72
Defines the foreground and background colors to show the tooltips on values

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
spGraph1->GetSeries()->Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutSerieTooltipBackColor("red");
	var_Cursor->PutSerieTooltipForeColor("yellow");
spGraph1->EndUpdate();

71
Defines the foreground and background colors to show the tooltips on axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
spGraph1->GetSeries()->Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutAxisTooltipBackColor("red");
	var_Cursor->PutAxisTooltipForeColor("yellow");
spGraph1->EndUpdate();

70
Defines the color, width or style of line to display the crosshair over the hover/touch area (showCursorCategoryLine or showCursorValueLine)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
spGraph1->GetSeries()->Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	EXGRAPHLib::ILineOptionsPtr var_LineOptions = var_Cursor->GetLine();
		var_LineOptions->PutColor("red");
		var_LineOptions->PutStyle(0);
		var_LineOptions->PutWidth(2);
spGraph1->EndUpdate();

69
Hides the horizontal x-line, when the crosshair cursor hovers the chart (available for xy-chart types only)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("11 22 33,44 55 66,77 88 99,12 34 56,78 90 23",vtMissing);
	var_Serie->PutType(L"bubble");
	var_Serie->PutMisc(EXGRAPHLib::exScatterPlotSize,long(64));
EXGRAPHLib::ISeriePtr var_Serie1 = spGraph1->GetSeries()->Add("21 32 43,54 65 76,87 98 09,45 67 89,90 23 45",vtMissing);
	var_Serie1->PutType(L"bubble");
	var_Serie1->PutMisc(EXGRAPHLib::exScatterPlotSize,long(64));
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutShowCursorYLine(VARIANT_FALSE);
spGraph1->EndUpdate();

68
Hides the vertical y-line, when the crosshair cursor hovers the chart (available for xy-chart types only)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("11 22 33,44 55 66,77 88 99,12 34 56,78 90 23",vtMissing);
	var_Serie->PutType(L"bubble");
	var_Serie->PutMisc(EXGRAPHLib::exScatterPlotSize,long(64));
EXGRAPHLib::ISeriePtr var_Serie1 = spGraph1->GetSeries()->Add("21 32 43,54 65 76,87 98 09,45 67 89,90 23 45",vtMissing);
	var_Serie1->PutType(L"bubble");
	var_Serie1->PutMisc(EXGRAPHLib::exScatterPlotSize,long(64));
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutShowCursorXLine(VARIANT_FALSE);
spGraph1->EndUpdate();

67
Hides the horizontal/vertical value/y-line, when the crosshair cursor hovers the chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutShowCursorValueLine(VARIANT_FALSE);
spGraph1->EndUpdate();

66
Displays all tooltips for all series of the category unit being indicated by the vertical/horizontal category/x-line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
spGraph1->GetSeries()->Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutShowCursorSerieTooltip(EXGRAPHLib::exCursorSerieShowAll);
spGraph1->EndUpdate();

65
The pointer indicates the series whose tooltip is displayed, when the crosshair cursor hovers its chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
spGraph1->GetSeries()->Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutShowCursorSerieTooltip(EXGRAPHLib::exCursorSerieShowExact);
spGraph1->EndUpdate();

64
Hides the tooltip when the crosshair cursor hovers the chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
spGraph1->GetSeries()->Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutShowCursorSerieTooltip(EXGRAPHLib::exCursorSerieHide);
spGraph1->EndUpdate();

63
Shows the category/x-line when the cursor is near the value

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutShowCursorCategoryLine(EXGRAPHLib::exCursorCategoryShowNear);
spGraph1->EndUpdate();

62
Hides the cursor's category/x-line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
	var_Cursor->PutVisible(VARIANT_TRUE);
	var_Cursor->PutShowCursorCategoryLine(EXGRAPHLib::exCursorCategoryHide);
spGraph1->EndUpdate();

61
How can I show the values from the cursor

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
spGraph1->GetCursor()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

60
Defines the style to display the axis-line
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetAxisLine()->PutStyle(2);
spGraph1->GetCategoryAxis()->GetAxisLine()->PutStyle(2);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(5") +
"90741),Bordeaux(589649),Lille(484786)",vtMissing);
spGraph1->EndUpdate();

59
Defines the color to show the axis

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetAxisLine()->PutColor("red");
spGraph1->GetCategoryAxis()->GetAxisLine()->PutColor("red");
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(5") +
"90741),Bordeaux(589649),Lille(484786)",vtMissing);
spGraph1->EndUpdate();

58
Specifies the step to show the ticks for value or category axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetMajorTicks()->PutStep(2);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

57
Specifies the number of ticks to skip for value or category axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetMajorTicks()->PutSkip(3);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

56
Defines the style to show the major-ticks of value or category axes
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
EXGRAPHLib::ITickOptionsPtr var_TickOptions = spGraph1->GetValueAxis()->GetMajorTicks();
	var_TickOptions->PutStyle(1);
	var_TickOptions->PutWidth(3);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

55
Defines the color to show the major-ticks of value or category axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
EXGRAPHLib::ITickOptionsPtr var_TickOptions = spGraph1->GetValueAxis()->GetMajorTicks();
	var_TickOptions->PutColor("red");
	var_TickOptions->PutWidth(3);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

54
Specifies the size to show the major-ticks of value or category axes
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetMajorTicks()->PutWidth(3);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

53
Defines the step to show the major-grid lines, for value or category axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetMajorGridLines()->PutStep(2);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

52
Specifies the number of major grid-line's to skip, for value or category axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetMajorGridLines()->PutSkip(3);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

51
Specifies the style of the major grid-line (dash, dot, ...), for value or category axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetMajorGridLines()->PutStyle(2);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

50
Specifies the major grid-line's color, for value or category axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetMajorGridLines()->PutColor("red");
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

49
Specifies the major grid-line's width or size, for value or category axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetValueAxis()->GetMajorGridLines()->PutWidth(2);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)",vtMissing);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

48
Hide the labels of the grid lines (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(64);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutFormat(L"value");
		var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextCalcRect);
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

47
Aligns the labels of the grid lines (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(64);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutFormat(L"`<fgcolor gray>` + value");
		var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::DrawTextFormatEnum(EXGRAPHLib::exTextNoClip | EXGRAPHLib::exTextAlignRight));
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

46
Defines where the grid lines appear on chart or overview

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutFormat(L"value = `Sitka`");
		var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextCalcRect);
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

45
Defines the labels between grid lines (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutFormat(L"``");
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutFormat(L"`<c>` + value + `<br><c>` + index");
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

44
Defines the step to show the grid lines (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutFormat(L"index");
		var_FormatGridLinesOptions->PutStep(2);
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

43
Specifies the number of grid lines to skip (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutFormat(L"index");
		var_FormatGridLinesOptions->PutSkip(3);
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

42
Defines the grid-line dash-dot-dot-style (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutStyle(4);
		var_FormatGridLinesOptions->PutFormat(L"index");
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

41
Defines the grid-line dash-dot-style (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutStyle(3);
		var_FormatGridLinesOptions->PutFormat(L"index");
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

40
Defines the grid-line dot-style (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutStyle(2);
		var_FormatGridLinesOptions->PutFormat(L"index");
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

39
Defines the grid-line dash-style (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutStyle(1);
		var_FormatGridLinesOptions->PutFormat(L"index");
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

38
Specifies the grid-line's color (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("red");
		var_FormatGridLinesOptions->PutFormat(L"index");
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

37
Specifies the grid-line's width or size (chart, overview)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutColor("black");
		var_FormatGridLinesOptions->PutFormat(L"index");
		var_FormatGridLinesOptions->PutWidth(2);
spGraph1->GetSeries()->Add("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393",vtMissing);
spGraph1->EndUpdate();

36
Occurs when the user dblclk the left mouse button over an object
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
void OnDblClickGraph1(short   Shift,long   X,long   Y)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
		#import <ExGraph.dll>
		using namespace EXGRAPHLib;
	*/
	EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
	OutputDebugStringW( L"DblClick event" );
}

EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->PutValueSize(18);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil") +
"}(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{" +
"China}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(6" +
"96),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiâni" +
"a{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)",vtMissing);
	var_Serie->PutType(L"Col");
	var_Serie->PutVertical(VARIANT_TRUE);
spGraph1->PutSort(L"0:D");

35
Occurs when the user presses and then releases the left mouse button over the control
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void OnClickGraph1()
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
		#import <ExGraph.dll>
		using namespace EXGRAPHLib;
	*/
	EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
	OutputDebugStringW( L"Click event" );
}

EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->PutValueSize(18);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil") +
"}(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{" +
"China}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(6" +
"96),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiâni" +
"a{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)",vtMissing);
	var_Serie->PutType(L"Col");
	var_Serie->PutVertical(VARIANT_TRUE);

34
Determine the code of the key the user presses
// KeyPress event - Occurs when the user presses and releases an ANSI key.
void OnKeyPressGraph1(short FAR*   KeyAscii)
{
	// print"KeyAscii",KeyAscii)
}

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->PutValueSize(48);
spGraph1->PutMisc(EXGRAPHLib::exUpdateRangeOnScroll,long(0));
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("China(1403500365),India(1368737513),UnitedStates(330810184),Indonesia(272881945),Pakistan(220892331),Brazil(212559417),Nigeria(") +
"206139587),Bangladesh(169575884),Russia(145912025),Mexico(128932753),Japan(126476458),Ethiopia(114963588),Philippines(112392078)" +
",Egypt(110530608),Vietnam(97429061),DR.Congo(89561404),Turkey(84339067),Iran(83720412),Germany(83132799),Thailand(69799978),Unit" +
"edKingdom(68207116),France(65311982),Italy(59554028),Tanzania(59091392),SouthAfrica(58775022)",vtMissing);
	var_Serie->PutType(L"Pie");
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
	var_Serie->PutValueFormat(L"category");

33
Determine the code of the key the user just released
// KeyUp event - Occurs when the user releases a key while an object has the focus.
void OnKeyUpGraph1(short FAR*   KeyCode,short   Shift)
{
	// print"KeyCode",KeyCode)
}

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->PutValueSize(48);
spGraph1->PutMisc(EXGRAPHLib::exUpdateRangeOnScroll,long(0));
spGraph1->GetSeries()->Add(_bstr_t("Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argenti") +
"na(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),M" +
"exico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Cha" +
"d(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)",vtMissing);

32
Determine the code of the key the user presses
// KeyDown event - Occurs when the user presses a key while an object has the focus.
void OnKeyDownGraph1(short FAR*   KeyCode,short   Shift)
{
	// print"KeyCode",KeyCode)
}

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->PutValueSize(48);
spGraph1->PutMisc(EXGRAPHLib::exUpdateRangeOnScroll,long(0));
spGraph1->GetSeries()->Add(_bstr_t("Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argenti") +
"na(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),M" +
"exico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Cha" +
"d(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)",vtMissing);

31
How can reverse the chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutReverse(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)",vtMissing);
	var_Serie->PutVertical(VARIANT_TRUE);
spGraph1->PutSeriesColors("dodgerblue");

30
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutScrollBars(EXGRAPHLib::exDisableBoth);
spGraph1->PutScrollPartVisible(EXGRAPHLib::exVScroll,EXGRAPHLib::exExtentThumbPart,VARIANT_TRUE);
spGraph1->PutScrollPartVisible(EXGRAPHLib::exHScroll,EXGRAPHLib::exExtentThumbPart,VARIANT_TRUE);
spGraph1->PutScrollPartVisible(EXGRAPHLib::ScrollBarEnum(0x2),EXGRAPHLib::exExtentThumbPart,VARIANT_TRUE);
spGraph1->PutScrollWidth(4);
spGraph1->PutBackground(EXGRAPHLib::BackgroundPartEnum(0x114),RGB(240,240,240));
spGraph1->PutBackground(EXGRAPHLib::BackgroundPartEnum(0x104),RGB(128,128,128));
spGraph1->PutScrollHeight(4);
spGraph1->PutBackground(EXGRAPHLib::BackgroundPartEnum(0x194),spGraph1->GetBackground(EXGRAPHLib::BackgroundPartEnum(0x114)));
spGraph1->PutBackground(EXGRAPHLib::BackgroundPartEnum(0x184),spGraph1->GetBackground(EXGRAPHLib::BackgroundPartEnum(0x104)));
spGraph1->PutBackground(EXGRAPHLib::BackgroundPartEnum(0x12c | EXGRAPHLib::exSerieCursorTooltipTransparent),spGraph1->GetBackground(EXGRAPHLib::BackgroundPartEnum(0x114)));
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutName(L"aapl");
	var_Serie->PutData("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
	var_Serie->PutType(L"candle");
spGraph1->EndUpdate();
spGraph1->EndUpdate();

29
Define a bubble chart-type

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutData("1 99 1,2 96 2,3 92 3,4 86 4,5 79 5,6 70 6,7 60 7,8 50 8,9 38 9,10 25 10,11 13 11");
	var_Serie->PutType(L"bubble");
	var_Serie->PutMisc(EXGRAPHLib::exScatterPlotSize,long(96));

28
Is it possible to show the values with the same color (method 2)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMisc(EXGRAPHLib::exValueAxisFitLabel,VARIANT_TRUE);
spGraph1->PutMisc(EXGRAPHLib::exValueLineAddAngle,long(0));
spGraph1->PutValuePoint(L",,,,,,,,,0,0");
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
	var_ValueAxis->PutFormat(L"value ? (value / 1000000)  + `<br><c>mil`: ``");
	var_ValueAxis->PutTfi(L"<fgcolor gray> bold");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589)") +
",Bangladesh(164689383),Russia(145934462),Mexico(128932753)",vtMissing);
	var_Serie->PutType(L"column");
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
	var_Serie->PutValueFormat(L"((value format ``) replace `.00` with ``)");
	var_Serie->PutColor("blue");
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

27
Is it possible to show the values with the same color (method 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMisc(EXGRAPHLib::exValueAxisFitLabel,VARIANT_TRUE);
spGraph1->PutMisc(EXGRAPHLib::exValueLineAddAngle,long(0));
spGraph1->PutValuePoint(L",,,,,,,,,0,0");
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
	var_ValueAxis->PutFormat(L"value ? (value / 1000000)  + `<br><c>mil`: ``");
	var_ValueAxis->PutTfi(L"<fgcolor gray> bold");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589)") +
",Bangladesh(164689383),Russia(145934462),Mexico(128932753)",vtMissing);
	var_Serie->PutType(L"column");
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
	var_Serie->PutValueFormat(L"((value format ``) replace `.00` with ``)");
spGraph1->GetSeries()->Add("0",vtMissing)->PutVisible(VARIANT_FALSE);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

26
Pie chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutType(L"pie");
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
	var_Serie->PutValueFormat(L"category + `<br>` + ((percent) format ``) + `%`");
	var_Serie->PutLegendFormat(L"label + `(` + ((percent) format ``) + `%)`");
spGraph1->PutValuePoint(L",,,,,,,,transparent");
EXGRAPHLib::ILegendPtr var_Legend = spGraph1->GetLegend();
	var_Legend->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

25
Define the pad for value-label

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,,,,,,,8");
spGraph1->EndUpdate();

24
Hide the frame around the value-label

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,,,,,,0");
spGraph1->EndUpdate();

23
Remove the frame around the value-label

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,,,,,transparent");
spGraph1->EndUpdate();

22
Apply the color of the data-value to the value-label

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
	var_Serie->PutValueFormat(L"`<fgcolor white>` + value");
spGraph1->PutValuePoint(L",,,,,,,null");
spGraph1->EndUpdate();

21
Apply an opaque color to the value-label

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,,,,red");
spGraph1->EndUpdate();

20
Remove the line that connects the value point to value-label (method 2)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,,,0");
spGraph1->EndUpdate();

19
Define a shorter line (connects the value point to value-label)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,,,8");
spGraph1->EndUpdate();

18
Define the size of the line that connects the value point to value-label

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,,1");
spGraph1->EndUpdate();

17
Hide the line that connects the value point to value-label

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,,0");
spGraph1->EndUpdate();

16
Remove the line that connects the value point to value-label (method 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,transparent");
spGraph1->EndUpdate();

15
Change the color to show the line that connects the value point to value-label

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,,red");
spGraph1->EndUpdate();

14
Change the frame's size around the value-point

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,4");
spGraph1->EndUpdate();

13
Change the frame's size around the value-point

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,,0");
spGraph1->EndUpdate();

12
Hide the value-points, but still the value-label (method 2)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",transparent,transparent");
spGraph1->EndUpdate();

11
Hide the value-points, but still the value-label (method 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L"0");
spGraph1->EndUpdate();

10
Change the color to show the border of the value-point

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",,black");
spGraph1->EndUpdate();

9
Makes the value point to show in the data-color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L",null");
spGraph1->EndUpdate();

8
Defines bigger value-points

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutValuePoint(L"16");
spGraph1->EndUpdate();

7
How can I change the color to show the axes (method 3)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
	var_ValueAxis->PutFormat(L"`<fgcolor red>` + value");
spGraph1->GetSeries()->Add(_bstr_t("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)",vtMissing);

6
How can I change the color to show the axes (method 2)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
	var_ValueAxis->PutTfi(L"<fgcolor red>");
spGraph1->GetSeries()->Add(_bstr_t("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)",vtMissing);

5
How can I change the color to show the axes (method 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->PutForeColor(RGB(255,0,0));
spGraph1->GetSeries()->Add(_bstr_t("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)",vtMissing);

4
Does the control's print supports "fit to page"

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	var_Series->Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)",vtMissing);
	var_Series->Add("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)",vtMissing);
spGraph1->EndUpdate();
/*
	Includes the definition for CreateObject function like follows:

	#include <comdef.h>
	IUnknownPtr CreateObject( BSTR Object )
	{
		IUnknownPtr spResult;
		spResult.CreateInstance( Object );
		return spResult;
	};

*/
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPRINTLib' for the library: 'ExPrint 1.0 Control Library'

	#import <ExPrint.dll>
	using namespace EXPRINTLib;
*/
EXPRINTLib::IExPrintPtr var_Print = ::CreateObject(L"Exontrol.Print");
	var_Print->PutPrintExt(((EXGRAPHLib::IGraphPtr)(spGraph1)));
	var_Print->Preview();

3
How can I print the control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(36);
spGraph1->GetSeries()->Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)",vtMissing);
spGraph1->EndUpdate();
/*
	Includes the definition for CreateObject function like follows:

	#include <comdef.h>
	IUnknownPtr CreateObject( BSTR Object )
	{
		IUnknownPtr spResult;
		spResult.CreateInstance( Object );
		return spResult;
	};

*/
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPRINTLib' for the library: 'ExPrint 1.0 Control Library'

	#import <ExPrint.dll>
	using namespace EXPRINTLib;
*/
EXPRINTLib::IExPrintPtr var_Print = ::CreateObject(L"Exontrol.Print");
	var_Print->PutPrintExt(((EXGRAPHLib::IGraphPtr)(spGraph1)));
	var_Print->Preview();

2
How do I change the control's foreground color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutForeColor(RGB(255,0,0));
spGraph1->GetSeries()->Add("-1,2,-3,4",vtMissing);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->EndUpdate();

1
How do I change the control's background color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutBackColor(RGB(240,240,240));
spGraph1->GetSeries()->Add("1,2,3,4",vtMissing);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->EndUpdate();